﻿#nullable enable

using System;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace PHMEE.EnergyEfficiency;

public interface IVoyageAppService
{
    /// <summary>
    /// 获取日期段内的完整航次；
    /// </summary>
    /// <param name="vesselId"></param>
    /// <param name="startDate"></param>
    /// <param name="endDate"></param>
    /// <returns></returns>
    Task<List<VoyageDto>> GetVoyagesAsync(Guid vesselId, DateTime startDate, DateTime endDate);

    /// <summary>
    /// 获取日期段内的完整航次及对应能效信息；
    /// </summary>
    /// <param name="vesselId"></param>
    /// <param name="startDate"></param>
    /// <param name="endDate"></param>
    /// <returns></returns>
    Task<List<VoyageEEInfoDto>> GetVoyagesEEInfoAsync(Guid vesselId, DateTime startDate, DateTime endDate);
}